﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace MVCGalloSoftMV5.Models
{
    [Table("DocumentoActividad")]
    public class DocumentoActividad
    {
        [Key]
        public int DocumentoActividadId { get; set; }
        
        public int ActividadId { get; set; }
        [Display(Name = "Tipo Documento")]
        [StringLength(50)]
        [Required(ErrorMessage = "El campo Tipo Documento es requerido")]
        public virtual TipoDocumentoActividad Tipo { get; set; }
    }
}